package com.shycloud.mido.opter.api.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.util.Date;

import lombok.Data;

@Data
@TableName(value = "stock_supplier")
public class StockSupplier {

	@TableId(value = "id", type = IdType.AUTO)
	private Integer id;

	/** 供应商名称 */
	@TableField(value = "`name`")
	private String name;

	/** 供应商联系电话 */
	@TableField(value = "phone")
	private String phone;

	/** 供应商地址 */
	@TableField(value = "address")
	private String address;

	/** 创建日期 */
	@TableField(value = "create_time")
	private Date createTime;

	public static final String COL_ID = "id";

	public static final String COL_NAME = "name";

	public static final String COL_PHONE = "phone";

	public static final String COL_ADDRESS = "address";

	public static final String COL_CREATE_TIME = "create_time";
}